package com.example.fitnessservice.service;

import com.example.fitnessservice.module.pojo.UserBodyData;
import org.apache.ibatis.annotations.Mapper;

import java.text.ParseException;
import java.util.List;

@Mapper
public interface BodyDataService {
    public List<UserBodyData> findBodyDataById(Integer userId);

    public boolean addBodyDataById(UserBodyData userBodyData) throws ParseException;

    List<UserBodyData> findBodyDataByPage(Integer userId, Integer currentPage, Integer pageSize);
}
